include_directories(
    ${PROJECT_SOURCE_DIR}
    ${PROJECT_SOURCE_DIR}/framework/core
    ${PROJECT_SOURCE_DIR}/framework/inc/exinc
    ${PROJECT_SOURCE_DIR}/framework/inc/osinc
    ${PROJECT_SOURCE_DIR}/framework/src/osimp
    ${PROJECT_SOURCE_DIR}/deps/idl
)
LINK_DIRECTORIES(
)

add_custom_target(
    genidl
    COMMAND "${PROJECT_SOURCE_DIR}/tests/testVirtualBusiness/genidl.sh"
)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/home/bin)
add_executable(TestVirtualBusiness BeansExtern.cpp  VirtualBusiness.cpp IVirtualBusiness.cpp VirtualBusinessService.cpp  VirtualBusinessClient.cpp)

target_link_libraries(TestVirtualBusiness core dl eximp osimp common_base)

add_dependencies(TestVirtualBusiness genidl)
